d/control: change Depends from lsb-base to sysvinit-utils
authorMaximilian Engelhardt <maxi@daemonizer.de>
Wed, 18 Jan 2023 23:14:25 +0000 (00:14 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 1 Feb 2023 23:13:49 +0000 (00:13 +0100)
lsb-base is now a transitional package depending on sysvinit-utils.
Thus, depending on lsb-base now gives the following lintian error:
E: xen-utils-common: depends-on-obsolete-package Depends: lsb-base

Keep lsb-base as an optional dependency to allow backporting to
bullseye.

Signed-off-by: Maximilian Engelhardt <maxi@daemonizer.de>
debian/control

index 69ab5ab1cd9c27bfa12e588238bcbdf2fda6b8c4..abf7256dd541b5904992e354fea8601366b4f536 100644 (file)
@@ -62,8 +62,10 @@ Description: Xenstore command line utilities for Xen
 Package: xen-utils-common
 Section: admin
 Architecture: amd64 armhf arm64
-Depends: lsb-base, udev, xenstore-utils,
+Depends: sysvinit-utils (>= 3.05-4~) | lsb-base, udev, xenstore-utils,
     ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
+# The "| lsb-base" is needed for backporting to bullseye. It can be removed
+# once backporting to bullseye is no longer needed.
 Suggests: xen-doc
 Description: Xen administrative tools - common files
  The userspace tools to manage a system virtualized through the Xen virtual